<template>
  <div>商品列表</div>
</template>

<script>
import { getGoodsList } from '@/api/goods'
export default {
  created() {
    this.getData()
  },
  methods: {
    async getData() {
      let { data } = await getGoodsList({
        currentPage: 1,
        pageSize: 5
      })
      console.log(data)
    }
  }
}
</script>

<style></style>
